package org.jsets.fastboot.routingds.impl;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

/**
 * 
 * 可切换数据源
 * 
 * @author wj596
 *
 */
public class RoutingDataSource extends AbstractRoutingDataSource {
   
	@Override
    protected Object determineCurrentLookupKey() {
        return RoutingDataSourceContext.peek();
    }
	
}